package com.xiaobai.demo;

import lombok.extern.slf4j.Slf4j;

@Slf4j(topic = "c.TestMultiThread")
public class TestMultiThread {
    public static void main(String[] args) {
        new Thread(() -> {
            while (true){
                log.debug("t1 running");
            }
        },"t1").start();

        new Thread(() -> {
            while (true){
                log.debug("t2 running");
            }
        },"t2").start();
    }

}
